package com.zzq.service.impl;

import com.zzq.domain.dto.SmileCouponDTO;
import com.zzq.domain.search.CouponSearchParamet;
import com.zzq.result.SmileResult;
import com.zzq.service.ClientCouponService;
import com.zzq.service.SmileCouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClientCouponServiceImpl  implements ClientCouponService {


    @Autowired
    SmileCouponService couponService;
    @Override
    public SmileResult getcouponDTOList(CouponSearchParamet searchParamet) {
        List<SmileCouponDTO> couponDTOList = couponService.getCouponDTOList(searchParamet);
        return SmileResult.sucess("成功",couponDTOList);
    }

}
